<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>

<script type="text/javascript" src="/views/user/js/userRegValidJs.jsp">
</script>

<div width="100px"></div>
<div id="errors" align="center">
<html:messages id="err">
	<font style="font-weight: bold; color: red"><bean:write name="err" /></font>
	<br>
</html:messages>
</div><div></div>
<div id="userRegForm" align="left">
<html:form action="/newUserSignup.do" onsubmit="return validateUserRegForm(this)">
<table width="100%" border="0" cellspacing="5" cellpadding="5">

	<tr>
		<td align="right">
			* <bean:message key="userreg.label.email" />
		</td>
		<td width="10px">:</td>
		<td align="left">
			<html:text property="user.email" size="40" styleClass="mandatoryField"></html:text>
		</td>
		<td width="50%">&nbsp;</td>
	</tr>

	<tr>
		<td align="right">
			* <bean:message key="userreg.label.email.check" />
		</td>
		<td>:</td>
		<td align="left">
			<html:text property="emailCheck" size="40" styleClass="mandatoryField"></html:text>
		</td>
		<td>&nbsp;</td>
	</tr>

	<tr>
		<td align="right">
			* <bean:message key="userreg.label.password" />
		</td>
		<td>:</td>
		<td align="left">
			<html:password property="user.password" styleClass="mandatoryField"></html:password>
		</td>
		<td>&nbsp;</td>
	</tr>

	<tr>
		<td align="right">
			* <bean:message key="userreg.label.password.check" />
		</td>
		<td>:</td>
		<td align="left">
			<html:password property="passwordCheck" styleClass="mandatoryField"></html:password>
		</td>
		<td>&nbsp;</td>
	</tr>

	<tr>
		<td align="right">
			* <bean:message key="userreg.label.firstname" />
		</td>
		<td>:</td>
		<td align="left">
			<html:text property="user.firstName" styleClass="mandatoryField"></html:text>
		</td>
		<td>&nbsp;</td>
	</tr>

	<tr>
		<td align="right">
			<bean:message key="userreg.label.middlename" />
		</td>
		<td>:</td>
		<td align="left">
			<html:text property="user.middleName"></html:text>
		</td>
		<td>&nbsp;</td>
	</tr>

	<tr>
		<td align="right">
			* <bean:message key="userreg.label.lastname" />
		</td>
		<td>:</td>
		<td align="left">
			<html:text property="user.lastName" styleClass="mandatoryField"></html:text>
		</td>
		<td>&nbsp;</td>
	</tr>

	<tr>
		<td align="right">
			<html:submit/>
		</td>
		<td>:</td>
		<td align="left">
			<html:cancel onclick="bCancel=true" property="userreg.label.cancel" />
		</td>
		<td>&nbsp;</td>
	</tr>

</table>
</html:form>
</div>
<div></div>
